package com.shishuo.cms.action.manage;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.shishuo.cms.action.BaseAction;
@Controller//识别控制器
@RequestMapping("hf")
public class HjfgAction extends BaseAction{
	@ResponseBody//返回值给游览器
	@RequestMapping("hj.htm")
	
	public String add(int s,int b){
		int c=s+b;
		return c + "";
	}
	@ResponseBody
	@RequestMapping("hj1.htm")
	public String mi(int k,int l){
		int g = k*l;
		return g + "";
	}
}
